﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:TextBox ID="TextBox1" runat="server" Width="295px"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="Button1" runat="server" Text="Search" 
            onclick="Button1_Click" Width="81px" />
        <br />
        <br />
    
        <asp:TextBox ID="txtKey" runat="server" Width="295px"></asp:TextBox>
    
        <asp:TextBox ID="txtVal" runat="server" Width="270px"></asp:TextBox>
        <asp:Button ID="btnAdd" runat="server" Text="Add" 
            onclick="btnAdd_Click" Width="81px" />
        <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            EnableModelValidation="True" Width="643px">
            <Columns>
                <asp:BoundField AccessibleHeaderText="TN" DataField="key" HeaderText="TN" />
                <asp:BoundField DataField="value" HeaderText="TV" />
            </Columns>
        </asp:GridView>
    
    </div>
    </form>
</body>
</html>
